using AutoMapper;
using ChikovMF.Application.Common.Mappings;
using ChikovMF.Application.Features.Projects.UploadImagesCommand;

namespace ChikovMF.WebAPI.Models.Projects
{
    public class UploadProjectImagesDto : IMapWith<UploadImagesCommand>
    {
        public IFormFile? CardImage { get; set; }
        public ICollection<IFormFile>? SliderImages { get; set; }

        public void Mapping(Profile profile)
        {
            profile.CreateMap<UploadProjectImagesDto, UploadImagesCommand>();
        }
    }
}